package createThread.sellTiket;

/**
 * @author wang'ji'cheng
 * @date 2025/7/22
 */
public class SellTicket {
    public static void main(String[] args) {


        Cinema cinema1 = new Cinema();
        Cinema cinema2 = new Cinema();
        Cinema cinema3 = new Cinema();

        cinema1.setName("影院1");
        cinema2.setName("影院2");
        cinema3.setName("影院3");

        cinema1.start();
        cinema2.start();
        cinema3.start();
    }
}
